package idv.etrex.display.object 
{
	import flash.events.IEventDispatcher;
	
	
		/** 
		 * 動畫撥放完時丟出
		 * @eventType Complete;
		 */
		[Event(name = "Complete", type = "idv.etrex.events.PlayerEvent")]
		
	/**
	 * ...
	 * @author etrex
	 */
	public interface IPlayer extends IEventDispatcher
	{
		/**
		 * 是否正在播放
		 */
		function get isPlaying():Boolean;
		
		/**
		 * 播放
		 */
		function play():void;

		/**
		 * 從頭播放
		 */
		function replay():void;
		
		/**
		 * 暫停播放
		 */
		function pause():void;
		
		/**
		 * 停止播放
		 */
		function stop():void;
	}
	
}